package com.youlu.campus.service.order;

import com.youlu.campus.entity.VO.req.SingleOrderBatchQueryVO;
import com.youlu.campus.entity.order.SingleOrderBatch;
import org.springframework.data.domain.Page;

public interface SingleOrderBatchService {
    Page<SingleOrderBatch> list(SingleOrderBatchQueryVO req);

    boolean update(SingleOrderBatch req);

    boolean create(SingleOrderBatch req, byte[] inputStream, String fileName, String optLoginName);

    SingleOrderBatch findOne(String id);

    boolean cancel(String id);

    boolean preDo(String id);

    boolean done(String id, String ip, String optUserName);

    boolean delete(String id);

    boolean reverse(byte[] inputStream, String fileName, String optLoginName, String activityId);
}
